package com.yfp.client.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

/**
 * 客户收货地址
 * @TableName client_address
 */
@TableName(value ="client_address")
@Data
public class ClientAddress {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 客户ID
     */
    @Schema(description="客户ID")
    private String clientId;

    /**
     * 省份
     */
    @Schema(description="省份")
    private String province;

    /**
     * 城市
     */
    @Schema(description="城市")
    private String city;

    /**
     * 区
     */
    @Schema(description="区")
    private String area;

    /**
     * 街道
     */
    @Schema(description="街道")
    private String street;

    /**
     * 详情地址
     */
    @Schema(description="详情地址")
    private String address;

    /**
     * 手机号码
     */
    @Schema(description="手机号码")
    private String mobile;

    /**
     * 是否默认0否1是
     */
    @Schema(description="是否默认0否1是")
    private Integer type;

    /**
     * 创建时间
     */
    @Schema(description="创建时间")
    private Date createTime;

    @Schema(description="收货人名称")
    private String name;
}